package com.example.szys.repository;

import com.example.szys.model.MistakeBook;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface MistakeBookRepository extends JpaRepository<MistakeBook,Integer> {
    public List<MistakeBook> findByEmail(String email);

    public MistakeBook findByEmailAndWareId(String email,int wareid);
}
